/**  \file NewUserConfirm.qml
\brief Login form / New user registration

Price My House for Nokia mobile platforms.

\author © 2011 Enrico Miglino / Tech Consulting (enrico.miglino@ovi.com)
\author "Evimin Fiyati Price My House" is protected by the copyright law
\author Distributed under the LGPL 3.0 license.
\date 2011

\par Licensing notes

    "Price My House" is free software: you can redistribute it
    and/or modify it under the terms of the Lesser GNU General Public License
    as published by the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    "Price My House" is distributed in the hope that it
    will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    Lesser GNU General Public License for more details.

    You should have received a copy of the Lesser GNU General Public License
    along with "Price My House".
    If not, see <http://www.gnu.org/licenses/>.

*/

import QtQuick 1.0
import "../house" as MyHouse
import "../Qt-Complex" as Framework

// Form for new user quick registration
Item {
    id: newuserok

    // Signals to close this form and return to the
    // previous
    signal newuserClicked
    // Real sizes are set when the object is instantiated
    width: parent.width; height: parent.height

    // Parameters Item. this is the interface with the json loaded data.
    MyHouse.DataItem { id: parameters }

    Framework.Loader {
        id: btnNewUser
        width: parent.width * .90 //formbackground.width
        height: parent.height * 0.40 //ormbackground.height
        anchors.horizontalCenter: parent.horizontalCenter
        anchors.verticalCenter: parent.verticalCenter
        theme: "PMH"; obj: "MessageBox";
        obj_string: parameters.login_txt6
        obj_message: parameters.login_txt7
        onClicked: { newuserok.newuserClicked() }
    }
}
